[INFO] cloning repository https://github.com/Tapkincou/Rust_Chess
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Tapkincou/Rust_Chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTapkincou%2FRust_Chess", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTapkincou%2FRust_Chess'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] eca459c438ad6e4446cd255873dd9647c1da8e36
[INFO] checking Tapkincou/Rust_Chess against master#82310651b93a594a3fd69015e1562186a080d94c for pr-145770
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTapkincou%2FRust_Chess" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Tapkincou/Rust_Chess
[INFO] finished tweaking git repo https://github.com/Tapkincou/Rust_Chess
[INFO] tweaked toml for git repo https://github.com/Tapkincou/Rust_Chess written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Tapkincou/Rust_Chess on toolchain 82310651b93a594a3fd69015e1562186a080d94c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Tapkincou/Rust_Chess already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ba9350805c9ecae4b41b8cbaf67648c98d195f0ac219d86a713b4b83328a0626
[INFO] running `Command { std: "docker" "start" "-a" "ba9350805c9ecae4b41b8cbaf67648c98d195f0ac219d86a713b4b83328a0626", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ba9350805c9ecae4b41b8cbaf67648c98d195f0ac219d86a713b4b83328a0626", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ba9350805c9ecae4b41b8cbaf67648c98d195f0ac219d86a713b4b83328a0626", kill_on_drop: false }`
[INFO] [stdout] ba9350805c9ecae4b41b8cbaf67648c98d195f0ac219d86a713b4b83328a0626
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fc442dc862a4328fbf92892cbf82d161ab01b933899b139d2821f48f3032f325
[INFO] running `Command { std: "docker" "start" "-a" "fc442dc862a4328fbf92892cbf82d161ab01b933899b139d2821f48f3032f325", kill_on_drop: false }`
[INFO] [stderr]     Checking rust-chess v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `position`
[INFO] [stdout]    --> src/lib.rs:110:17
[INFO] [stdout]     |
[INFO] [stdout] 110 |             for position in 0..possible_moves.len() {
[INFO] [stdout]     |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]    --> src/lib.rs:149:24
[INFO] [stdout]     |
[INFO] [stdout] 149 |     fn get_paw_pattern(color: &PieceColor) -> MovePattern { MovePattern { todo : None }  }
[INFO] [stdout]     |                        ^^^^^ help: if this is intentional, prefix it with an underscore: `_color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]    --> src/lib.rs:150:27
[INFO] [stdout]     |
[INFO] [stdout] 150 |     fn get_bishop_pattern(color: &PieceColor) -> MovePattern { MovePattern { todo : None }  }
[INFO] [stdout]     |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 |     fn get_rook_pattern(color: &PieceColor) -> MovePattern { MovePattern { todo : None }  }
[INFO] [stdout]     |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]    --> src/lib.rs:152:26
[INFO] [stdout]     |
[INFO] [stdout] 152 |     fn get_queen_pattern(color: &PieceColor) -> MovePattern { MovePattern { todo : None }  }
[INFO] [stdout]     |                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]    --> src/lib.rs:153:25
[INFO] [stdout]     |
[INFO] [stdout] 153 |     fn get_king_pattern(color: &PieceColor) -> MovePattern { MovePattern { todo : None }  }
[INFO] [stdout]     |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]    --> src/lib.rs:154:27
[INFO] [stdout]     |
[INFO] [stdout] 154 |     fn get_knight_pattern(color: &PieceColor) -> MovePattern { MovePattern { todo : None }  }
[INFO] [stdout]     |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/lib.rs:12:21
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub struct Case(Position,Option<Piece>);
[INFO] [stdout]    |                ---- ^^^^^^^^ ^^^^^^^^^^^^^
[INFO] [stdout]    |                |
[INFO] [stdout]    |                fields in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing these fields
[INFO] [stdout]    = note: `Case` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/lib.rs:63:26
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub struct Position( char, i8 );
[INFO] [stdout]    |                --------  ^^^^  ^^
[INFO] [stdout]    |                |
[INFO] [stdout]    |                fields in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing these fields
[INFO] [stdout]    = note: `Position` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `possible_moves` is never read
[INFO] [stdout]   --> src/lib.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 72 |     pub struct Piece {
[INFO] [stdout]    |                ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 75 |         possible_moves: Vec<Position> 
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Piece` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `todo` is never read
[INFO] [stdout]    --> src/lib.rs:146:9
[INFO] [stdout]     |
[INFO] [stdout] 145 |     struct MovePattern {
[INFO] [stdout]     |            ----------- field in this struct
[INFO] [stdout] 146 |         todo : Option<char>
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `position`
[INFO] [stdout]    --> src/lib.rs:110:17
[INFO] [stdout]     |
[INFO] [stdout] 110 |             for position in 0..possible_moves.len() {
[INFO] [stdout]     |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]    --> src/lib.rs:149:24
[INFO] [stdout]     |
[INFO] [stdout] 149 |     fn get_paw_pattern(color: &PieceColor) -> MovePattern { MovePattern { todo : None }  }
[INFO] [stdout]     |                        ^^^^^ help: if this is intentional, prefix it with an underscore: `_color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]    --> src/lib.rs:150:27
[INFO] [stdout]     |
[INFO] [stdout] 150 |     fn get_bishop_pattern(color: &PieceColor) -> MovePattern { MovePattern { todo : None }  }
[INFO] [stdout]     |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]    --> src/lib.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 |     fn get_rook_pattern(color: &PieceColor) -> MovePattern { MovePattern { todo : None }  }
[INFO] [stdout]     |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]    --> src/lib.rs:152:26
[INFO] [stdout]     |
[INFO] [stdout] 152 |     fn get_queen_pattern(color: &PieceColor) -> MovePattern { MovePattern { todo : None }  }
[INFO] [stdout]     |                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]    --> src/lib.rs:153:25
[INFO] [stdout]     |
[INFO] [stdout] 153 |     fn get_king_pattern(color: &PieceColor) -> MovePattern { MovePattern { todo : None }  }
[INFO] [stdout]     |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]    --> src/lib.rs:154:27
[INFO] [stdout]     |
[INFO] [stdout] 154 |     fn get_knight_pattern(color: &PieceColor) -> MovePattern { MovePattern { todo : None }  }
[INFO] [stdout]     |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/lib.rs:12:21
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub struct Case(Position,Option<Piece>);
[INFO] [stdout]    |                ---- ^^^^^^^^ ^^^^^^^^^^^^^
[INFO] [stdout]    |                |
[INFO] [stdout]    |                fields in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing these fields
[INFO] [stdout]    = note: `Case` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/lib.rs:63:26
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub struct Position( char, i8 );
[INFO] [stdout]    |                --------  ^^^^  ^^
[INFO] [stdout]    |                |
[INFO] [stdout]    |                fields in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing these fields
[INFO] [stdout]    = note: `Position` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `possible_moves` is never read
[INFO] [stdout]   --> src/lib.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 72 |     pub struct Piece {
[INFO] [stdout]    |                ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 75 |         possible_moves: Vec<Position> 
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Piece` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `todo` is never read
[INFO] [stdout]    --> src/lib.rs:146:9
[INFO] [stdout]     |
[INFO] [stdout] 145 |     struct MovePattern {
[INFO] [stdout]     |            ----------- field in this struct
[INFO] [stdout] 146 |         todo : Option<char>
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s
[INFO] running `Command { std: "docker" "inspect" "fc442dc862a4328fbf92892cbf82d161ab01b933899b139d2821f48f3032f325", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fc442dc862a4328fbf92892cbf82d161ab01b933899b139d2821f48f3032f325", kill_on_drop: false }`
[INFO] [stdout] fc442dc862a4328fbf92892cbf82d161ab01b933899b139d2821f48f3032f325
